<?php if(!defined('IN_JOSEPPE')) { exit('Access Denied'); } ?>
<?php include_once S_ROOT.'admin/header.php'; ?>
<?php include_once S_ROOT.'admin/menu.php'; ?>
		<div style="margin:0 auto;width:980px;">
	<div id="bd">
		<form action="admin.php" method="post">
			<div class="wrap">
				<p class="title">站点设置</p>
                    <p><label>标题</label><input type="text" name="setting[title]" value="<?php echo $setting['title']; ?>" /></p>
                    <p><label>keywords</label><input type="text" name="setting[keywords]" value="<?php echo $setting['keywords']; ?>" /></p>
					<p><label>description</label><input type="text" name="setting[description]" value="<?php echo $setting['description']; ?>" /></p>
            </div><br/>
			<div class="wrap sec">
				<p class="title">右上角信息</p>
                    <p><label>电话信息</label><input type="text" name="setting[r_phone]" value="<?php echo $setting['r_phone']; ?>" /></p>
                    <p><label>介绍文字</label><input type="text" name="setting[r_text]" value="<?php echo $setting['r_text']; ?>" /></p>
            </div><br/>
			<div class="wrap">
				<p class="title">联系我们</p>
                    <p><label>公司名称</label><input type="text" name="setting[company]" value="<?php echo $setting['company']; ?>" /></p>
                    <p><label>联系人</label><input type="text" name="setting[people]" value="<?php echo $setting['people']; ?>" /></p>
                    <p><label>电话</label><input type="text" name="setting[phone]" value="<?php echo $setting['phone']; ?>" /></p>
                    <p><label>传真</label><input type="text" name="setting[fax]" value="<?php echo $setting['fax']; ?>" /></p>
					<p><label>地址</label><input type="text" name="setting[address]" value="<?php echo $setting['address']; ?>" /></p>
					<p><label>邮箱</label><input type="text" name="setting[email]" value="<?php echo $setting['email']; ?>" /></p>
            </div><br/>
			<div class="wrap sec">
				<p class="title">关于我们</p>
                <p><textarea name="setting[about]"><?php echo $setting['about']; ?></textarea></p>
            </div><br/>
			<input type="hidden" name="action" value="setting" />
			<input class="submit" type="submit" name="submit" value="提交" />
        </form>
	</div>
		</div>
    </body>
</html>